package com.service.order.client;

import com.service.utils.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-edu")
public interface TeacherClient {

    /**
     * 查询指定的讲师信息
     * @param id
     * @return
     */
    @GetMapping("teacher/{id}")
    public ResultVo queryById( @PathVariable String id);

}
